home *** CD-ROM | disk | FTP | other *** search
Makefile | 2000-06-23 | 2.9 KB | 96 lines |
- #
- # file MakeFile
- #
- # Description:
- # This file contains the MPW Make build commands for creating
- # the HTMLSample application.
- #
- # HTMLSample is an application illustrating how to use the new
- # HTMLRenderingLib services found in Mac OS 9. HTMLRenderingLib
- # is Apple's light-weight HTML rendering engine capable of
- # displaying HTML files.
- #
- # by John Montbriand, 1999.
- #
- # Copyright: © 1999 by Apple Computer, Inc.
- # all rights reserved.
- #
- # Disclaimer:
- # You may incorporate this sample code into your applications without
- # restriction, though the sample code has been provided "AS IS" and the
- # responsibility for its operation is 100% yours. However, what you are
- # not permitted to do is to redistribute the source as "DSC Sample Code"
- # after having made changes. If you're going to re-distribute the source,
- # we require that you make it clear in the source that the code was
- # descended from Apple Sample Code, but that you've made changes.
- #
- # Change History (most recent first):
- # 10/16/99 created by John Montbriand
- #
-
- # PPCObjects contains the names of all the powerpc object files
- # generated by the C compiler. We put all the object files in a
- # directory called 'obj'
- PPCObjects = :obj:HTMLSample.c.ppc ∂
- :obj:History.c.ppc ∂
- :obj:CIconButtons.c.ppc ∂
- :obj:RenderingWindow.c.ppc ∂
- :obj:AboutBox.c.ppc ∂
- :obj:SampleUtils.c.ppc
-
- # CCppc contains the C compiler comand we use for compiling
- # the source files.
- CCppc = MrC -w 35 -align power -proto strict
-
- # RezFiles contains a list of the rez files used in this build.
- RezFiles = HTMLSample.r
-
- # Resources contains a list of all the resource and rez files
- # used to build the application
- Resources = {RezFiles} HTMLSample.rsrc
-
- # resources
-
- HTMLSample ƒƒ {Resources} {PPCObjects}
- Rez -t "APPL" -i "{RIncludes}" -o HTMLSample {RezFiles}
-
- # object code
-
- HTMLSample ƒƒ {Resources} {PPCObjects}
- PPCLink -o HTMLSample ∂
- {PPCObjects} ∂
- {SharedLibraries}NavigationLib ∂
- {SharedLibraries}AppearanceLib ∂
- {SharedLibraries}InterfaceLib ∂
- {SharedLibraries}StdCLib ∂
- {SharedLibraries}MathLib ∂
- {SharedLibraries}HTMLRenderingLib ∂
- {PPCLibraries}PPCCRuntime.o ∂
- {PPCLibraries}PPCToolLibs.o ∂
- {PPCLibraries}StdCRuntime.o
-
- # bundle
-
- HTMLSample ƒƒ {Resources} {PPCObjects}
- SetFile -t APPL -c vTeZ -a iB HTMLSample
-
- # source code
-
- :obj:HTMLSample.c.ppc ƒ HTMLSample.c HTMLSample.h RenderingWindow.h SampleUtils.h
- {CCppc} HTMLSample.c -o :obj:HTMLSample.c.ppc
-
- :obj:RenderingWindow.c.ppc ƒ RenderingWindow.c RenderingWindow.h SampleUtils.h CIconButtons.h History.h
- {CCppc} RenderingWindow.c -o :obj:RenderingWindow.c.ppc
-
- :obj:History.c.ppc ƒ History.c History.h
- {CCppc} History.c -o :obj:History.c.ppc
-
- :obj:CIconButtons.c.ppc ƒ CIconButtons.c CIconButtons.h
- {CCppc} CIconButtons.c -o :obj:CIconButtons.c.ppc
-
- :obj:SampleUtils.c.ppc ƒ SampleUtils.c SampleUtils.h
- {CCppc} SampleUtils.c -o :obj:SampleUtils.c.ppc
-
- :obj:AboutBox.c.ppc ƒ AboutBox.c AboutBox.h
- {CCppc} AboutBox.c -o :obj:AboutBox.c.ppc
-